

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: Lenovo
 * Date: 2025-03-21
 * Time: 13:19
 */

package Bag2;
// 不同包中的类
public class Test {
    public static void main(String[] args) {
        AnotherChild anotherChild = new AnotherChild();
        anotherChild.printFields();
    }
}
/*

运行：
        1
        2
        4
*/
